-- card: 59780 from stack: in.07 Reference -- bmap block id: 60402 -- flags: 0000 -- background id: 13647 -- name: -- part 1 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=298 top=105 right=173 bottom=495 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: -- part 3 (button) -- low flags: 00 -- high flags: A004 -- rect: left=14 top=290 right=312 bottom=98 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Explain ----- HyperTalk script ----- on mouseUp go to card id 59530 end mouseUp -- part contents for background part 2 ----- text ----- class Process -- part contents for background part 1 ----- text ----- Note that Process is prefixed by Link, so Process objects can be inserted in a Simset-list. Link class Process; begin Boolean procedure Idle; ...; Boolean procedure Terminated; ...; long real procedure EvTime; ...; ref(Process) procedure NextEv; ...; Detach; inner; Note! TERMINATED := true; Passivate; Error("Attempt to activate terminated process"); end; -- part contents for card part 1 ----- text ----- Note: do NOT use Detach, Call or Resume on a process object. It will almost certainly interfere with class Simulation's own sequencing,with chaos as result